package com.guigu.tankai.service;

import com.github.pagehelper.PageInfo;
import com.guigu.tankai.pojo.User;

public interface UserService {

    User login(User user);
    User chalogin(User user);

    PageInfo<User> findByUser(Integer page, Integer num, User user);

    //删除
    int deleteByPrimaryKey(Integer id);
    //添加
    int insertSelective(User record);
    //id查
    User selectByPrimaryKey(Integer id);
    //修改
    int updateByPrimaryKey(User record);
}
